package com.the4man.framework.base;

import com.the4man.cnbdw.exception.BusinessException;
import com.the4man.cnbdw.utils.Page;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface BaseInterfaceService {
    int insert(Object var1) throws BusinessException, Exception;

    int insertTwo(Object var1) throws BusinessException, Exception;

    int deleteByPrimaryKey(Serializable var1, Class var2) throws BusinessException, Exception;

    int countByExample(Object var1) throws BusinessException, Exception;

    int deleteByExample(Object var1) throws BusinessException, Exception;

    int insertSelective(Object var1) throws BusinessException, Exception;

    List selectFullByExample(Object var1) throws BusinessException, Exception;

    List selectByExample(Object var1) throws BusinessException, Exception;

    List selectExByExample(Object var1) throws BusinessException, Exception;

    List selectByExampleWithFetchProperty(Object var1, String[] var2) throws BusinessException, Exception;

    void selectByExample(Object var1, Page var2) throws BusinessException, Exception;

    void selectPrintByExample(Object var1, Page var2) throws BusinessException, Exception;

    void selectFullByExample(Object var1, Page var2) throws BusinessException, Exception;

    void selectByExampleWithFetchProperty(Object var1, Page var2, String[] var3) throws BusinessException, Exception;

    Object selectByPrimaryKey(Serializable var1, Class var2) throws BusinessException, Exception;

    Object selectByPrimaryKeyWithFetchProperty(Serializable var1, Class var2, String[] var3) throws BusinessException, Exception;

    int updateByExampleSelective(Object var1, Object var2) throws BusinessException, Exception;

    int updateByExample(Object var1, Object var2) throws BusinessException, Exception;

    int updateByPrimaryKeySelective(Object var1) throws BusinessException, Exception;

    int updateByPrimaryKey(Object var1) throws BusinessException, Exception;
}
